﻿#ifndef TCPCODEC_SCRIPT_H
#define TCPCODEC_SCRIPT_H

#include <qobject.h>
#include "ObjAutoInject.h"
#include "TcpCodecBase.h"

class TcpCodec_Script : public QObject,public ObjAutoInject,public TcpCodecBase
{
  Q_OBJECT
public:
  explicit TcpCodec_Script();
  virtual ~TcpCodec_Script();
signals:
public:
  virtual DataPackage_TcpCodec* decode(DataPackage_TcpCodec* dataPackageInfo_User)override;
public:
  virtual void objectAutoInjection(QHash<QString,QObject*>* objMap)override;
};

#endif // TCPCODEC_SCRIPT_H
